package com.xyy.saas.payment.service.impl;

import com.xyy.saas.payment.dao.mapper.ThirdUserInfoMapper;
import com.xyy.saas.payment.dao.model.ThirdUserInfo;
import com.xyy.saas.payment.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.DependsOn;
import org.springframework.stereotype.Service;

/**
 * @author wangtianqi
 * @date 2020/9/2 14:24
 */
@Service
@DependsOn({"thirdUserInfoMapper"})
public class UserServiceImpl implements UserService {

    @Autowired
    private ThirdUserInfoMapper thirdUserInfoMapper;

    @Override
    public int updateThirdUserIdByUserId(String userId, String thirdType, String thirdUserId){
        return thirdUserInfoMapper.updateThirdUserIdByUserId(userId, thirdType, thirdUserId);
    }

}
